.class Lcom/estrongs/android/ui/dialog/k$d;
.super Ljava/lang/Object;
.source "BatchRenameDialog.java"

# interfaces
.implements Les/y80;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/k;->a(Landroid/content/DialogInterface;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/dialog/k;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/k;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/k$d;->a:Lcom/estrongs/android/ui/dialog/k;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Les/s80;Z)V
    .locals 8

    .line 1
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/k$d;->a:Lcom/estrongs/android/ui/dialog/k;

    invoke-static {p2}, Lcom/estrongs/android/ui/dialog/k;->a(Lcom/estrongs/android/ui/dialog/k;)Landroid/app/Activity;

    move-result-object p2

    instance-of p2, p2, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    if-eqz p2, :cond_0

    .line 2
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/k$d;->a:Lcom/estrongs/android/ui/dialog/k;

    invoke-static {p2}, Lcom/estrongs/android/ui/dialog/k;->a(Lcom/estrongs/android/ui/dialog/k;)Landroid/app/Activity;

    move-result-object p2

    check-cast p2, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-virtual {p2}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->b0()Ljava/lang/String;

    move-result-object p2

    goto :goto_0

    .line 3
    :cond_0
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/k$d;->a:Lcom/estrongs/android/ui/dialog/k;

    invoke-static {p2}, Lcom/estrongs/android/ui/dialog/k;->b(Lcom/estrongs/android/ui/dialog/k;)Ljava/lang/String;

    move-result-object p2

    .line 4
    :goto_0
    invoke-static {p2}, Lcom/estrongs/android/statistics/c;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 5
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/k$d;->a:Lcom/estrongs/android/ui/dialog/k;

    invoke-static {p2}, Lcom/estrongs/android/ui/dialog/k;->c(Lcom/estrongs/android/ui/dialog/k;)Ljava/util/List;

    move-result-object p2

    invoke-static {p2}, Lcom/estrongs/android/pop/utils/p;->c(Ljava/util/List;)Ljava/lang/String;

    move-result-object v2

    const-wide/16 v3, 0x0

    .line 6
    iget-object p2, p0, Lcom/estrongs/android/ui/dialog/k$d;->a:Lcom/estrongs/android/ui/dialog/k;

    invoke-static {p2}, Lcom/estrongs/android/ui/dialog/k;->c(Lcom/estrongs/android/ui/dialog/k;)Ljava/util/List;

    move-result-object p2

    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    move-wide v4, v3

    :goto_1
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/fs/g;

    .line 7
    invoke-interface {v0}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v6

    add-long/2addr v4, v6

    goto :goto_1

    .line 8
    :cond_1
    invoke-virtual {p1}, Les/s80;->m()I

    move-result p2

    const/4 v0, 0x4

    if-ne p2, v0, :cond_2

    const/4 p2, 0x1

    const/4 v3, 0x1

    goto :goto_2

    :cond_2
    const/4 p2, 0x0

    const/4 v3, 0x0

    .line 9
    :goto_2
    invoke-virtual {p1}, Les/s80;->l()Les/u80;

    move-result-object p1

    iget v6, p1, Les/u80;->a:I

    const-string v0, "rename"

    .line 10
    invoke-static/range {v0 .. v6}, Lcom/estrongs/android/pop/utils/p;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZJI)V

    return-void
.end method
